import api from "@/api";
import axios from "@/utils/axios";



//模糊查询的方法
function searchtrade() {
  return axios({
    url: api.tradeApi.searchtrade,
    method: 'post',
    params: {  }
})
}

//获取交易信息列表
function gettradelist(page,size) {
  return axios({
    url: api.tradeApi.gettradelist,
    method: 'post',
    params: { 
      page,
      size
     }
})
}

export default {
  gettradelist,
  searchtrade
}